\hypertarget{classCOriginalModifiedIO}{
\section{\-C\-Original\-Modified\-I\-O \-Class \-Reference}
\label{classCOriginalModifiedIO}\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}}
}


{\ttfamily \#include $<$original\-\_\-modified\-\_\-io.\-h$>$}

\-Inheritance diagram for \-C\-Original\-Modified\-I\-O\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classCOriginalModifiedIO}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCOriginalModifiedIO_ae9b484c38b7259fc8e2673bb6d25fd61}{\-C\-Original\-Modified\-I\-O} (\hyperlink{classISampleIO}{\-I\-Sample\-I\-O} $\ast$p\-Original\-I\-O, \hyperlink{classISampleIO}{\-I\-Sample\-I\-O} $\ast$p\-Modified\-I\-O)
\item 
virtual \hyperlink{classCOriginalModifiedIO_ac4ed401b0f83738ba4b3311e3675a5d4}{$\sim$\-C\-Original\-Modified\-I\-O} ()
\item 
virtual int \hyperlink{classCOriginalModifiedIO_a044c4913c7da4b5abcaaa49c739919bd}{init} (\hyperlink{properties__reader_8h_a67847fd00cb49d80dd45f61722eb9a43}{\-C\-Properties\-Reader} $\ast$p\-Config)
\item 
virtual int \hyperlink{classCOriginalModifiedIO_a7ca7fe1225d88f76f95d0def84f8c26b}{destroy} ()
\item 
virtual int \hyperlink{classCOriginalModifiedIO_aafdc9b76b6e7a6d21bdde17690325f6e}{read} (void $\ast$$\ast$p\-Data, \hyperlink{classISampleIO_a33f1d3778c9c332648df649a73fdb44c}{\-E\-Action} \&p\-Action, int p\-Timeout=1000)
\item 
virtual int \hyperlink{classCOriginalModifiedIO_a6417dd62493ee126071cac8a02564675}{write} (void $\ast$p\-Data, const \hyperlink{classISampleIO_a33f1d3778c9c332648df649a73fdb44c}{\-E\-Action} \&p\-Action, int p\-Length)
\item 
virtual \hyperlink{structNAudioFormats_1_1SStreamInfo}{\-N\-Audio\-Formats\-::\-S\-Stream\-Info} \hyperlink{classCOriginalModifiedIO_a9ac81c38e8d90cb2e01a24d27adef5b4}{get\-Stream\-Info} ()
\end{DoxyCompactItemize}
\subsection*{\-Private \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{classCOriginalModifiedIO_a006296efab27c5f2466b5c20d539f40b}{\-C\-Original\-Modified\-I\-O} (const \hyperlink{classCOriginalModifiedIO}{\-C\-Original\-Modified\-I\-O} \&)
\item 
\hyperlink{classCOriginalModifiedIO}{\-C\-Original\-Modified\-I\-O} \& \hyperlink{classCOriginalModifiedIO_a6dd98668a3eb2c1227f927a50b0a7a5a}{operator=} (const \hyperlink{classCOriginalModifiedIO}{\-C\-Original\-Modified\-I\-O} \&)
\end{DoxyCompactItemize}
\subsection*{\-Private \-Attributes}
\begin{DoxyCompactItemize}
\item 
bool \hyperlink{classCOriginalModifiedIO_a2fc0b7c4fc02e134f425dadcef39e421}{m\-Error}
\item 
bool \hyperlink{classCOriginalModifiedIO_afe8243edf6e12c45f88627370fa09d7c}{m\-Use\-Original\-For\-Read}
\item 
\hyperlink{classISampleIO}{\-I\-Sample\-I\-O} $\ast$ \hyperlink{classCOriginalModifiedIO_ac17148828123b5e472cb17e131aa5db2}{m\-Original\-I\-O}
\item 
\hyperlink{classISampleIO}{\-I\-Sample\-I\-O} $\ast$ \hyperlink{classCOriginalModifiedIO_a8a41c7e30fd0a2c17b1a2f682597f4a2}{m\-Modified\-I\-O}
\end{DoxyCompactItemize}


\subsection{\-Constructor \& \-Destructor \-Documentation}
\hypertarget{classCOriginalModifiedIO_ae9b484c38b7259fc8e2673bb6d25fd61}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}}
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{\-C\-Original\-Modified\-I\-O}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Original\-Modified\-I\-O\-::\-C\-Original\-Modified\-I\-O (
\begin{DoxyParamCaption}
\item[{{\bf \-I\-Sample\-I\-O} $\ast$}]{p\-Original\-I\-O, }
\item[{{\bf \-I\-Sample\-I\-O} $\ast$}]{p\-Modified\-I\-O}
\end{DoxyParamCaption}
)}}
\label{classCOriginalModifiedIO_ae9b484c38b7259fc8e2673bb6d25fd61}
\hypertarget{classCOriginalModifiedIO_ac4ed401b0f83738ba4b3311e3675a5d4}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!$\sim$\-C\-Original\-Modified\-I\-O@{$\sim$\-C\-Original\-Modified\-I\-O}}
\index{$\sim$\-C\-Original\-Modified\-I\-O@{$\sim$\-C\-Original\-Modified\-I\-O}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{$\sim$\-C\-Original\-Modified\-I\-O}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Original\-Modified\-I\-O\-::$\sim$\-C\-Original\-Modified\-I\-O (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCOriginalModifiedIO_ac4ed401b0f83738ba4b3311e3675a5d4}
\hypertarget{classCOriginalModifiedIO_a006296efab27c5f2466b5c20d539f40b}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}}
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{\-C\-Original\-Modified\-I\-O}]{\setlength{\rightskip}{0pt plus 5cm}\-C\-Original\-Modified\-I\-O\-::\-C\-Original\-Modified\-I\-O (
\begin{DoxyParamCaption}
\item[{const {\bf \-C\-Original\-Modified\-I\-O} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCOriginalModifiedIO_a006296efab27c5f2466b5c20d539f40b}


\subsection{\-Member \-Function \-Documentation}
\hypertarget{classCOriginalModifiedIO_a7ca7fe1225d88f76f95d0def84f8c26b}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!destroy@{destroy}}
\index{destroy@{destroy}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{destroy}]{\setlength{\rightskip}{0pt plus 5cm}int \-C\-Original\-Modified\-I\-O\-::destroy (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCOriginalModifiedIO_a7ca7fe1225d88f76f95d0def84f8c26b}


\-Implements \hyperlink{classISampleIO_a4a3ef7be5c5abba7f9993913380cb14f}{\-I\-Sample\-I\-O}.

\hypertarget{classCOriginalModifiedIO_a9ac81c38e8d90cb2e01a24d27adef5b4}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!get\-Stream\-Info@{get\-Stream\-Info}}
\index{get\-Stream\-Info@{get\-Stream\-Info}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{get\-Stream\-Info}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-N\-Audio\-Formats\-::\-S\-Stream\-Info} \-C\-Original\-Modified\-I\-O\-::get\-Stream\-Info (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCOriginalModifiedIO_a9ac81c38e8d90cb2e01a24d27adef5b4}


\-Implements \hyperlink{classISampleIO_a9e43c9190bd486f654f930aa49af48d1}{\-I\-Sample\-I\-O}.

\hypertarget{classCOriginalModifiedIO_a044c4913c7da4b5abcaaa49c739919bd}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!init@{init}}
\index{init@{init}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{init}]{\setlength{\rightskip}{0pt plus 5cm}int \-C\-Original\-Modified\-I\-O\-::init (
\begin{DoxyParamCaption}
\item[{{\bf \-C\-Properties\-Reader} $\ast$}]{p\-Config}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCOriginalModifiedIO_a044c4913c7da4b5abcaaa49c739919bd}
\begin{DoxyNote}{\-Note}
\-The instance of the properties reader will be freed (delete) by the main programm and is not allowed by the deconstructor of an inherit \-I\-O class.
\end{DoxyNote}

\begin{DoxyParams}{\-Parameters}
{\em p\-Config} & pointer to the properties reader \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
0 on success, -\/1 otherwise 
\end{DoxyReturn}


\-Implements \hyperlink{classISampleIO_ab8ef7dd9048d0944d3c5f50329e0874d}{\-I\-Sample\-I\-O}.

\hypertarget{classCOriginalModifiedIO_a6dd98668a3eb2c1227f927a50b0a7a5a}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!operator=@{operator=}}
\index{operator=@{operator=}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{operator=}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-C\-Original\-Modified\-I\-O}\& \-C\-Original\-Modified\-I\-O\-::operator= (
\begin{DoxyParamCaption}
\item[{const {\bf \-C\-Original\-Modified\-I\-O} \&}]{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCOriginalModifiedIO_a6dd98668a3eb2c1227f927a50b0a7a5a}
\hypertarget{classCOriginalModifiedIO_aafdc9b76b6e7a6d21bdde17690325f6e}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!read@{read}}
\index{read@{read}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{read}]{\setlength{\rightskip}{0pt plus 5cm}int \-C\-Original\-Modified\-I\-O\-::read (
\begin{DoxyParamCaption}
\item[{void $\ast$$\ast$}]{p\-Data, }
\item[{{\bf \-E\-Action} \&}]{p\-Action, }
\item[{int}]{p\-Timeout = {\ttfamily 1000}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCOriginalModifiedIO_aafdc9b76b6e7a6d21bdde17690325f6e}

\begin{DoxyParams}{\-Parameters}
{\em p\-Data} & \-Array of bytes, read from media. \-The buffer for data will be provided by the read method. \-Therefore a void$\ast$$\ast$ and not a void$\ast$ is needed. \\
\hline
{\em p\-Action} & displays what has to be done, it also enables the direction from which data came from \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
number of bytes read, 0 for \-E\-O\-F and -\/1 for a timeout or an error 
\end{DoxyReturn}


\-Implements \hyperlink{classISampleIO_a5843d1feda7bfffb86dd260a08f5516d}{\-I\-Sample\-I\-O}.

\hypertarget{classCOriginalModifiedIO_a6417dd62493ee126071cac8a02564675}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!write@{write}}
\index{write@{write}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{write}]{\setlength{\rightskip}{0pt plus 5cm}int \-C\-Original\-Modified\-I\-O\-::write (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{p\-Data, }
\item[{const {\bf \-E\-Action} \&}]{p\-Action, }
\item[{int}]{p\-Length}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classCOriginalModifiedIO_a6417dd62493ee126071cac8a02564675}

\begin{DoxyParams}{\-Parameters}
{\em p\-Data} & \-Address of the \-Buffer which will be written to the media. \\
\hline
{\em p\-Action} & displays what has to be done, it also enables the direction from which data came from \\
\hline
{\em p\-Length} & \-Length/\-Size of the buffer (unit\-: byte) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{\-Returns}
number of bytes written or -\/1 for an error 
\end{DoxyReturn}


\-Implements \hyperlink{classISampleIO_ae2026aece7114980b715076b45b906f9}{\-I\-Sample\-I\-O}.



\subsection{\-Member \-Data \-Documentation}
\hypertarget{classCOriginalModifiedIO_a2fc0b7c4fc02e134f425dadcef39e421}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!m\-Error@{m\-Error}}
\index{m\-Error@{m\-Error}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{m\-Error}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-C\-Original\-Modified\-I\-O\-::m\-Error}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCOriginalModifiedIO_a2fc0b7c4fc02e134f425dadcef39e421}
\hypertarget{classCOriginalModifiedIO_a8a41c7e30fd0a2c17b1a2f682597f4a2}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!m\-Modified\-I\-O@{m\-Modified\-I\-O}}
\index{m\-Modified\-I\-O@{m\-Modified\-I\-O}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{m\-Modified\-I\-O}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-I\-Sample\-I\-O}$\ast$ {\bf \-C\-Original\-Modified\-I\-O\-::m\-Modified\-I\-O}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCOriginalModifiedIO_a8a41c7e30fd0a2c17b1a2f682597f4a2}
\hypertarget{classCOriginalModifiedIO_ac17148828123b5e472cb17e131aa5db2}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!m\-Original\-I\-O@{m\-Original\-I\-O}}
\index{m\-Original\-I\-O@{m\-Original\-I\-O}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{m\-Original\-I\-O}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-I\-Sample\-I\-O}$\ast$ {\bf \-C\-Original\-Modified\-I\-O\-::m\-Original\-I\-O}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCOriginalModifiedIO_ac17148828123b5e472cb17e131aa5db2}
\hypertarget{classCOriginalModifiedIO_afe8243edf6e12c45f88627370fa09d7c}{
\index{\-C\-Original\-Modified\-I\-O@{\-C\-Original\-Modified\-I\-O}!m\-Use\-Original\-For\-Read@{m\-Use\-Original\-For\-Read}}
\index{m\-Use\-Original\-For\-Read@{m\-Use\-Original\-For\-Read}!COriginalModifiedIO@{\-C\-Original\-Modified\-I\-O}}
\subsubsection[{m\-Use\-Original\-For\-Read}]{\setlength{\rightskip}{0pt plus 5cm}bool {\bf \-C\-Original\-Modified\-I\-O\-::m\-Use\-Original\-For\-Read}\hspace{0.3cm}{\ttfamily  \mbox{[}private\mbox{]}}}}
\label{classCOriginalModifiedIO_afe8243edf6e12c45f88627370fa09d7c}


\-The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
\hyperlink{original__modified__io_8h}{original\-\_\-modified\-\_\-io.\-h}\item 
\hyperlink{original__modified__io_8cxx}{original\-\_\-modified\-\_\-io.\-cxx}\end{DoxyCompactItemize}
